package miko.mikoplex.controller;

import com.jme3.asset.AssetManager;
import com.jme3.scene.Node;

import miko.mikoplex.model.GameBoardModel;
import miko.mikoplex.view.GameBoardView;

public class GameBoardControler {
	private GameBoardModel gbm;
	private GameBoardView gbv;
	
	public GameBoardControler(GameBoardModel _gbm,GameBoardView _gbv) {
		gbm = _gbm;
		gbv = _gbv;
	}
	public GameBoardControler(String board,AssetManager am) {
		gbm = new GameBoardModel(board);
		gbv = new GameBoardView("floor", gbm, am);
	}
	
	public Node getGameBoardNode() {
		return gbv.gameBoardNode;
	}
}
